package com.ruoyi.teacher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * sysStudent对象 sys_student
 * 
 * @author ruoyi
 * @date 2022-01-13
 */
public class SysStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "姓名",width = 10)
    private String userName;

    /**  */
    @Excel(name = "性别",width = 6)
    private String sex;

    /**  */
    @Excel(name = "身份证号",width = 22)
    private String card;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 12, dateFormat = "yyyy-MM-dd")
    private Date brithday;

    /**  */
    @Excel(name = "籍贯",width = 12)
    private String hometown;

    /**  */
    @Excel(name = "联系方式",width = 12)
    private String phone;

    /**  */
    @Excel(name = "学号",width = 14)
    private String studentId;

    /**  */
    @Excel(name = "年级",width = 15)
    private String grade;

    /**  */
    private Long classesId;
    @Excel(name = "班级",width = 15)
    private String classesName;

    /**  */
    @Excel(name = "专业",width = 16)
    private String professional;

    /**  */
    @Excel(name = "地址",width = 35)
    private String address;

    /**  */
    @Excel(name = "政治面貌",width = 10)
    private String politicalStatus;

    /**  */
    @Excel(name = "兴趣爱好",width = 20)
    private String hobby;

    /**  */
    private Integer isDel;

    /** 学院id*/
    private Long collegeId;
    private String collegeName;


    public Long getClassesId() {
        return classesId;
    }

    public void setClassesId(Long classesId) {
        this.classesId = classesId;
    }

    public String getClassesName() {
        return classesName;
    }

    public void setClassesName(String classesName) {
        this.classesName = classesName;
    }

    public Long getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Long collegeId) {
        this.collegeId = collegeId;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setBrithday(Date brithday) 
    {
        this.brithday = brithday;
    }

    public Date getBrithday() 
    {
        return brithday;
    }
    public void setHometown(String hometown) 
    {
        this.hometown = hometown;
    }

    public String getHometown() 
    {
        return hometown;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }


    public void setProfessional(String professional)
    {
        this.professional = professional;
    }

    public String getProfessional() 
    {
        return professional;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPoliticalStatus(String politicalStatus) 
    {
        this.politicalStatus = politicalStatus;
    }

    public String getPoliticalStatus() 
    {
        return politicalStatus;
    }
    public void setHobby(String hobby) 
    {
        this.hobby = hobby;
    }

    public String getHobby() 
    {
        return hobby;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("sex", getSex())
            .append("card", getCard())
            .append("brithday", getBrithday())
            .append("hometown", getHometown())
            .append("phone", getPhone())
            .append("studentId", getStudentId())
            .append("grade", getGrade())
            .append("class", getClass())
            .append("professional", getProfessional())
            .append("address", getAddress())
            .append("politicalStatus", getPoliticalStatus())
            .append("hobby", getHobby())
            .toString();
    }
}
